---
title: "odigos sources enable"
sidebarTitle: "odigos sources enable"
---
## odigos sources enable

Enable a source for Odigos instrumentation.

### Synopsis

This command enables the given workload for Odigos instrumentation. It will create a Source object (if one does not already exist)

### Examples

```

# Enable deployment "foo" in namespace "default"
odigos sources enable deployment foo

# Enable namespace "bar"
odigos sources enable namespace bar

# Enable statefulset "foo" in namespace "bar"
odigos sources enable statefulset foo -n bar

```

### Options

```
  -h, --help   help for enable
```

### Options inherited from parent commands

```
      --kube-context string   (optional) name of the kubeconfig context to use
      --kubeconfig string     (optional) absolute path to the kubeconfig file (default "KUBECONFIG")
  -v, --verbose               enable verbose output
```

### SEE ALSO

* [odigos sources](/cli/odigos_sources)	 - Manage Odigos Sources in a cluster
* [odigos sources enable cluster](/cli/odigos_sources_enable_cluster)	 - Enable an entire cluster for Odigos instrumentation
* [odigos sources enable cronjob](/cli/odigos_sources_enable_cronjob)	 - enable a CronJob for Odigos instrumentation
* [odigos sources enable daemonset](/cli/odigos_sources_enable_daemonset)	 - enable a DaemonSet for Odigos instrumentation
* [odigos sources enable deployment](/cli/odigos_sources_enable_deployment)	 - enable a Deployment for Odigos instrumentation
* [odigos sources enable deploymentconfig](/cli/odigos_sources_enable_deploymentconfig)	 - enable a DeploymentConfig for Odigos instrumentation
* [odigos sources enable namespace](/cli/odigos_sources_enable_namespace)	 - enable a Namespace for Odigos instrumentation
* [odigos sources enable statefulset](/cli/odigos_sources_enable_statefulset)	 - enable a StatefulSet for Odigos instrumentation